PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20' at line 1 in /var/www/vevby/data/www/vevby.ru/classes/idiorm.php:431 Stack trace: #0 /var/www/vevby/data/www/vevby.ru/classes/idiorm.php(431): PDOStatement->execute() #1 /var/www/vevby/data/www/vevby.ru/classes/idiorm.php(1830): ORM::_execute('SELECT `news`.*...', Array, 'default') #2 /var/www/vevby/data/www/vevby.ru/classes/idiorm.php(661): ORM->_run() #3 /var/www/vevby/data/www/vevby.ru/modules/newsline/main.php(161): ORM->find_array() #4 /var/www/vevby/data/www/vevby.ru/classes/path.php(148): newsline::view(Array) #5 /var/www/vevby/data/www/vevby.ru/classes/path.php(169): Path::controllerInit('view') #6 /var/www/vevby/data/www/vevby.ru/core.php(45): Path::delegatePath() #7 /var/www/vevby/data/www/vevby.ru/index.php(31): include_once('/var/www/vevby/...') #8 {main}